// 如果mate.showBack
const modulesRoutes = [{
        path: '/',
        redirect: '/index'
    },
    {
        path: '/index',
        name: 'index',
        component: () =>
            import ( /* webpackChunkName: "index" */ '@/views/Index.vue'),
        meta: {
            index: 1,
            title:'主页'
        }
    },
    {
        path: '/timeline',
        name: 'timeline',
        component: () =>
            import ( /* webpackChunkName: "timeline" */ '@/views/Timeline.vue'),
        meta: {
            index: 2
        }
    },
    {
        path: '/mine',
        name: 'mine',
        component: () =>
            import ( /* webpackChunkName: "mine" */ '@/views/mine/Mine.vue'),
        meta: {
            index: 2
        }
    },
    {
        path: '/mine/setting',
        name: 'setting',
        component: () =>
            import ( /* webpackChunkName: "mine" */ '@/views/mine/Setting.vue'),
        meta: {
            index: 2
        }
    },
    {
        path: '/login',
        name: 'login',
        component: () =>
            import ( /* webpackChunkName: "login" */ '@/views/Login.vue'),
        meta: {
            index: 1
        }
    },
    {
        path: '/mine/aboutas',
        name: 'aboutas',
        component: () =>
            import ( /* webpackChunkName: "mine" */ '@/views/mine/AboutAs.vue'),
        meta: {
            index: 2,
            title:'关于我们',
            // showBack:false
        }
    },
    {
        path: '/category',
        name: 'category',
        component: () =>
            import ( /* webpackChunkName: "category" */ '@/views/Category.vue'),
        meta: {
            index: 1
        }
    },
]

export default modulesRoutes;